package com.gxa.hualian.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Manager {
    private Integer id;
    private String name;
    private String phone;
    private String pwd;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date regTime;

    private Boolean inUsed;

    @Override
    public String toString() {
        return "Manager{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", pwd='" + pwd + '\'' +
                ", regTime=" + regTime +
                ", inUsed=" + inUsed +
                '}';
    }

    public Manager() {
    }

    public Manager(Integer id, String name, String phone, String pwd, Date regTime, Boolean inUsed) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.pwd = pwd;
        this.regTime = regTime;
        this.inUsed = inUsed;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public Boolean getInUsed() {
        return inUsed;
    }

    public void setInUsed(Boolean inUsed) {
        this.inUsed = inUsed;
    }
}
